package com.dragon.aipictures;

import cn.dev33.satoken.spring.oauth2.SaOAuth2BeanInject;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

import javax.annotation.Resource;



@SpringBootApplication
@EnableAsync
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan("com.dragon.aipictures.mapper")
public class AiPictureSApplication {
    @Resource
    private SaOAuth2BeanInject saOAuth2BeanInject;

    public static void main(String[] args) {
//        new SaOAuth2Manager()

        SpringApplication.run(AiPictureSApplication.class, args);
    }

}
